using System.Collections;
using UnityEngine;

public class TS_ShelterLit : MonoBehaviour
{
	[Header("-- References --")]
	[SerializeField]
	private GameObject BlackFade;

	[SerializeField]
	private AudioClip snd_noise;

	private void Start()
	{
		((MonoBehaviour)this).StartCoroutine(Cutscene());
	}

	private IEnumerator Cutscene()
	{
		yield return (object)new WaitForSeconds(1.5f);
		BlackFade.SetActive(false);
		CutsceneUtils.PlaySound(snd_noise);
		PlayerManager.Instance._PlayerState = PlayerManager.PlayerState.Game;
	}
}
